<template>
  <div class="lunbo">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <router-link :to="{ path: '/xiying' }">
        <van-swipe-item style="height: 150px">
          <img src="../assets/lun1.webp" alt="" />
        </van-swipe-item>
      </router-link>
      <router-link :to="{ path: '/xiying' }">
        <van-swipe-item style="height: 150px">
          <img src="../assets/lun2.webp" alt="" />
        </van-swipe-item>
      </router-link>
      <router-link :to="{ path: '/xiying' }">
        <van-swipe-item style="height: 150px">
          <img src="../assets/lun3.webp" alt="" />
        </van-swipe-item>
      </router-link>
      <router-link :to="{ path: '/xiying' }">
        <van-swipe-item style="height: 150px">
          <img src="../assets/lun4.webp" alt="" />
        </van-swipe-item>
      </router-link>
    </van-swipe>
    
  </div>
</template>

<script>
export default {
  name: "lunbo",
  components: {},
};
</script>

<style lang="scss">
.lunbo {
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
  .my-swipe .van-swipe-item {
    color: black;
    font-size: 20px;
    line-height: 150px;
    text-align: center;

    img {
      width: 355px;
      height: 150px;
      border-radius: 10px;
    }
  }
}
</style>